package persistence

type Persistence interface {
	InsertActivityInfo(activityInfo *OKEXActivityInfo) error
	DeleteActivityInfo(coin string) error
	GetActivityList() ([]*OKEXActivityInfo, error)
	GetActivityInfo(coin string) (*OKEXActivityInfo, error)

	InsertStakingInfo(stakingInfo *OKEXStakingInfo) error
	DeleteStakingInfo(coin string, period int) error
	GetStakingList() ([]*OKEXStakingInfo, error)
	GetStakingInfo(coin string, period int) (*OKEXStakingInfo, error)

	InsertFuturesInfo(fInfo *FuturesInfo) error
	GetFuturesInfoList() ([]*FuturesInfo, error)
	GetFuturesInfo(coin string) (*FuturesInfo, error)
}
